<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
Pop-up for adding a student to a class.

[Michael Argarin; Chad Estioco; Second Semester, AY 2010-2011]
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GradeGrid - Add a Student</title>
</head>

<body>
	<h2 style="margin-bottom:0px">Add a Student</h2>
    <span style="font-size:10px">NOTE: Fields marked with an * are required</span>
    <form action="pushStudent.php?class_id=<?php echo $_GET['class_id'];?>" method="post">
	<table><tr><td>
    	<table>
        	<tr>
            	<td>First Name*</td>
                <td><input name="fname" type="text"></td>
            </tr>
        	<tr>
            	<td>Middle Name</td>
                <td><input name="mname" type="text"></td>
            </tr>
            <tr>
            	<td>Last Name*</td>
                <td><input name="lname" type="text"></td>
            </tr>
            <tr>
            	<td>Email*</td>
                <td><input name="email" type="text"></td>
            </tr>
        </table>
	</td>
	<td>
		<span class="pMirror">The students so far:</span><br />
		<iframe src="display_students.php?classid=<?php echo $_GET['class_id']; ?>"></iframe>
	</td></tr>
	</table>
        <input type="submit" value="Add Student">
    </form>
    <div style="font-size:9px; width:100%" align="center">GradeGrid Copyright</div>
</body>
</html>